<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>

<f:subview id="workflowActions">
    <h:panelGrid columns="1" rendered="#{WorkflowBean.workflow}">
        <h:outputText value=""/>
        <h:dataTable styleClass="#{(LayoutBean.showingActions) ? 'table' : 'menu'}" value="#{WorkflowBean.transitions}" var="transition"
                     rendered="#{WorkflowBean.workflow}">
            <h:column>
                <h:outputLink value="#{NodesBean.repositoryPath}#{WorkflowBean.workflowDocumentPath}?transition=#{transition.name}&#{WorkflowBean.workflowType}">
                    <h:outputText value="#{transition.name}"/>
                </h:outputLink>
            </h:column>
        </h:dataTable>
    </h:panelGrid>
</f:subview>